﻿namespace SHZY.BaseData.Entitys.Dto.QmsBaseInspectionrolemain;

/// <summary>
/// 朓检规则输入参数.
/// </summary>
public class QmsBaseInspectionrolemainListOutput
{
    /// <summary>
    /// GUID.
    /// </summary>
    public string id { get; set; }

    /// <summary>
    /// 规则编码.
    /// </summary>
    public string code { get; set; }

    /// <summary>
    /// 规则描述.
    /// </summary>
    public string desc { get; set; }

    /// <summary>
    /// 有效开始时间.
    /// </summary>
    public string startDate { get; set; }

    /// <summary>
    /// 有效结束时间.
    /// </summary>
    public string endDate { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    public string enabledMark { get; set; }

    /// <summary>
    /// 导入数据时的异常信息.
    /// </summary>
    public string exceptionMsg { get; set; }


    #region 导出数据时同时输出跳检规则明细
    /// <summary>
    /// 阶段.
    /// </summary>
    public string stage { get; set; }

    /// <summary>
    /// 阶段描述.
    /// </summary>
    public string stageDesc { get; set; }

    /// <summary>
    /// 判断条件:=、>、<、>=、<=.
    /// </summary>
    public string judeCondition { get; set; }

    /// <summary>
    /// 连续天数.
    /// </summary>
    public int? continuityDay { get; set; }

    /// <summary>
    /// 合格数.
    /// </summary>
    public int? inspLot { get; set; }

    /// <summary>
    /// 天数与批次逻辑关系：并且、或.
    /// </summary>
    public string keyWord { get; set; }

    /// <summary>
    /// 新阶段.
    /// </summary>
    public string okStageNo { get; set; }

    /// <summary>
    /// 拒绝.
    /// </summary>
    public decimal rejectNun { get; set; }

    /// <summary>
    /// NG新阶段.
    /// </summary>
    public string ngStageNo { get; set; }

    /// <summary>
    /// 初始阶段:0否 1是.
    /// </summary>
    public string isDefault { get; set; }

    /// <summary>
    /// 免检:0否 1是.
    /// </summary>
    public string isExempt { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    public string enabledMark1 { get; set; }
    #endregion

}